#app {

  .main-container {
    min-height: 100%;
    transition: margin-left .28s;
    margin-left: $sideBarWidth;
    position: relative;
  }

  .top_action {
    position: fixed;
    float: right;
    top: 0px;
    bottom: 0;
    right: 10px;
    z-index: 1001;
    height: $headerBarHeight;
    &:focus {
      outline: none;
    }

    .icon-class {
      line-height: $headerBarHeight !important;
      height:  $headerBarHeight !important;
      margin-right: 15px;
    }

  }

  .headerbar-container {
    transition: width 0.28s;
    background-color: $menuBg;
    height: $headerBarHeight;
    width: calc(100%);
    position: fixed;
    top: 0px;
    bottom: 0;
    left: 0;
    z-index: 1001;
    overflow: hidden;

    .scrollbar-wrapper {
      overflow-y: hidden !important;
    }

    .el-scrollbar__bar.is-vertical {
      right: 0px;
    }

    .el-scrollbar {
      width: 100%;
    }

    a {
      display: inline-block;
      width: 100%;
      overflow: hidden;
    }

    .svg-icon {
      margin-right: 16px;
    }

    .sub-el-icon {
      margin-right: 12px;
      margin-left: -2px;
    }

    .el-menu {
      border: none;
      width: 100%;
      height: 100% !important;
    }

    .el-menu-item, .el-submenu__title {
      height: $headerBarHeight !important;
      line-height: $headerBarHeight !important;
    }

    // menu hover
    .submenu-title-noDropdown,
    .el-submenu__title {
      width: 200px;
      &:hover {
        background-color: $menuHover !important;
      }
    }

    .is-active>.el-submenu__title {
      color: $subMenuActiveText !important;
    }


    & .nest-menu .el-submenu>.el-submenu__title,
    & .el-submenu .el-menu-item {
      min-height: $headerBarHeight !important;
      background-color: $subMenuBg !important;

      &:hover {
        background-color: $subMenuHover !important;
      }
    }
  }


  .el-menu--collapse .el-menu .el-submenu {
    min-height: $headerBarHeight !important;
    line-height: $headerBarHeight !important;

  }

}

